﻿using System.Collections.Generic;
using Contracts.Entities;

namespace Definition.WebImport
{
    public class MovieItemTmdbIdComparer : IEqualityComparer<MovieItem>
    {
        public bool Equals(MovieItem x, MovieItem y)
        {
            return x.TmdbId == y.TmdbId;
        }

        public int GetHashCode(MovieItem obj)
        {
            return 0;
        }
    }
}
